package cn.edu.scnu.springbootcinema.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@TableName("movie_actors")
public class MovieActor implements Serializable {
    @Serial
    private static final long serialVersionUID = 4L;
    @TableId(type = IdType.AUTO)
    private Integer movieId;
    private Integer actorId;
}
